package demo;

public class test {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
        mySingleList.addFirst(11);
        mySingleList.addFirst(22);
        mySingleList.addFirst(33);
        mySingleList.addFirst(44);
        mySingleList.addFirst(55);
        mySingleList.addLast(101);
        mySingleList.display();
        mySingleList.addIndex(3,999);
        mySingleList.display();
        System.out.println(mySingleList.size());
        mySingleList.remove(44);
        mySingleList.display();
        mySingleList.removeAll(999);
        mySingleList.display();

    }
}
